package com.fit.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 控制器类
 */
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(String name){
        String msg="Hello "+name;
        return msg;
    }
}
